package com.resou.reader.mine.mybooklist;

import com.resou.reader.api.entry.MyBookListBean;
import com.resou.reader.base.BasePresenter;
import com.resou.reader.base.BaseView;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;

import java.util.List;

public interface IMyBooklistContract {
    interface IMyBooklistView extends BaseView {
        void showBookList(List<MyBookListBean.UserBookListBean> listBeans);

        SmartRefreshLayout getSmartRefreshLayout();

        /**
         * 取消收藏
         */
        void cancellCollection();

        void showInfo(String info);
    }

    interface IMyBookListPresenter extends BasePresenter {
        void quearBookList(int page);

        void deleteBookList(String bookId);
    }
}
